public class Student
{
	protected String name, address, phone;

	public Student (String nameIn, String addressIn, String phoneIn)
	{
		name=nameIn;
		address=addressIn;
		phone=phoneIn;
	}

	public String getName()	
	{
		return name;
	}

	public String getAddress()	
	{
		return address;
	}

	public String getPhone()	
	{
		return phone;
	}

	public void updateDetails(String addressIn, String phoneIn)
	{
		address=addressIn;
		phone=phoneIn;
	}
}

